package com.yumingjaing.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: John
 * @version: ContainerInitListener.java, v1.0 2024年12月14日 19:50
 */
@Slf4j
@Component
public class ContainerInitListener {

    @EventListener
    public void containerStartedCompletedPreparedData(ContextRefreshedEvent event){
        log.info("Listener1-Container started. Preparing data now...");
    }
}